fixed errors
hw3