minor changes in selfhost with razor to solve missing pkg error