Fixed NetBeans compatability