Fix for using correct table name