FIX BUG: GetDirection
Merge branch 'wxc'
Merge branch 'master'