Netbeans 7.3 support

netbeans 7.3 support and a bugfix