Fix an error in a sql statement on line 135