remove perPage var