Fixed broken compass commit

My previous commit broke compass. this should fix it.

@cpoulain - please verify?