changed '.compile()' method to 'compiled' property
changed '.compile()' method to 'compiled' property in setup
fixed errors after refactoring