fixed ruby-insert-end