compass workaround