add compiled css; move check