fixed the contraints and the weird behavior of the autolayout