Fixed The bug for autolayout constraints