#256 avoiding call to params in EncapsulatedHelper

fixes #256