fix duplicate page unable to access error