fix null entry validation error