cleanup of profile layout