fixed env issue