fix viff prehandler issue