fix syntax of after_restart.rb