cleans up printing output