End cap for T profile