Fixing an error in trying to require compass