add hook for io data filtering
revert to merge #27
change hook name, remove duplicate function call