remove refs generated by netbeans