fixed open page listener bug