fix netbeans issues