Debug print fix