fixing get view for index path method