fixed netbeans bug