fixed GPS issue with memory
Merge pull request #102 from thaives/master

Direction feature