deal with weird chars and space-slash terminated lines