clean up functions and do proper word splitting