fixed auto layout crash