fix bugs after railsrumble