fix coursera lab2