small domain check fix