fixed build errors in week7