Fix bug. Impossible save object if collection not exits.