fix setup db code, again