fixes for prac2