fix FRC newIndexPath and add some codesnippets