fixed autolayout behaviour