fixed a database mistake