bugfix
don't append newline in the end of !osusume
reduce nesting with "next"
refactoring: indentation
trivial refactoring