switched values in db