Issues in autolayout solved