remove unnecessary query var