Fixed compass issue