minor fixes for pa1