update compass bug fix