fixes for ios7, enhancements