fix off by one in users page