solve netbeans problems