tweaks how params resource is determined