fixing a bug where we ignored some parameters passed to __call__