be a bit more indempotent with the db prep