Some bugs fixed (related tp the null-regions