clean up a little in processing/main