replace gem ruby-debug19 by debugger
fix collection name in pagination result when it is a compound name