fixed autolayout

for 6pm version