Fix env method conflict