Removes extraneous output