silly misktake for none checking dup in db