resolved variable issue in birdmain.rb & index.erb