fix for response without pagination