correcting typo in database script