removed query from error