Ex1-A1 : fix build errors