fixed manage pagination