Fixed wrong env issue