bug in database