minor fix for mongo deserilizer