fixed minor issue, removed unused postPerPage