fixed some Netbeans code hints