fixed error with Compass application