fixed fore.rb bug