closes #556, also removes the newline that was previously inserted