fix incompabilities and shared.rb
first test#