trying to fix db bindings