fix for cjeck environment