new version of settings api class
fixes paypal issue