fixed environment issue