Revert "Fix netbeans"

This reverts commit 999f9899df169a1704d93d13230ca94464d63a7b.