fix errors add comment