fixd query issue