Beam profile measurements at MAX