support null as page