fixed my query