fix project1 bug