Clean up printing for debugging