fix autolayout issues