remove first and last items