fixed position calculation
Merge remote-tracking branch 'origin/master'