add more debug_prints in relation to bug 3049