fix a bug of works query