fixed site query issue