fixed dependency problem with apache envvars