fixed the autolayout