bug fix for compass not found