fixes https://github.com/hunt-framework/hayoo/issues/20