Debug print cleanup