Removed trash and some ideas in links_base.rb