update to compass 1.0.0
clean code