some commit from netbeans