fix autolayout conflicts