fix decryptModelOrCollection
fix pagination