fix env types