Added pagination catch