Some bugfix for iPhone
Merge branch 'master' into gh-pages