http://ontouchstart.github.io/blog/#13-07-26 bug fix