Fix method env var