FIX: removed incompatibility between collapse and pagination