fixing type of rubyie