fixed it set in viewport was routed through a different function I think but got it working with this