previewparameters are compared with proxyParams and previewextension is compared to proxyExtension which is wrong