Update page::active()

Add complex path solution