Fixed wrong method name in database class