Update page::active()

Bug fix