User activity

I'm trying to create a custom railing and cant get rid of the end extensions and end cap, what am I doing wrong here?