fixing dynamic values for endcap and join style