fix autoresize mask at ProfileController