fix get method for mongodb storage