env var messed up custom