upgrade to comaptible with rails41