Fixed a small error in database