add query options to validate hooks too