panel: fixed custom query detail