fix missing comma in query