Please revert your changes to this file, `$cond` is not an optional parameter.