remove standard pre_process_hook