removed check-environment