fix https://github.com/RubyLouvre/avalon/issues/118#issuecomment-27546699