Some bug fixed
endless page function added