change unnecessary comment to help description
handle IndexError