db doesn't work