fixed show and add pages