james | correcting invalid attr access on environment