some bug fix with myLocation