replace element param with target