fixed some minor ios7 issues