fixed typo. db still doesn't work, but at least the program starts now