fixed some constraint and autolayout stuff