fixes for ramp rect and tri (+ r's)