fixes netbeans debugger issue; more issue #5