fixed some code review errors