Merge pull request #737 from houqp/master

cache bug fix