remove bad sp and vp functions