trying to fix db / env issue