fix for null gps poition