Fixes ios7 warning