use parameters.params instead of loadedParams