final fix api.rb