improve typeSetResponsive arguments validaiton