removed ruby-end mode