minor bugfixes autolayout related