fix storage api