Removing whitespaces and last "+"s