fix some profile layout issues