Fix problem with compass in production