overwrite get_or_create with  try and except to mitigate integrity error, and not freeze db table