fix ios7 warnings