uncommented check if H is empty.
removed debug build settings.