[fix] emit as transform hook