minor database issue