fix iOS8 contraint issue