fix mongodb storage api