Fix bug `Assertion failed: Expected hash or Mixin instance, got [object ...

...String]`