fixed a bug in the 'page' parameter