shad/MT/hw2.p1: minor fixes