debugging testing env 500 error on add