changed signs and fix split on multiple lines