fixed complex page issue