pagination override fix for multi-line pagination