fixed error in storage interface and mysql adapter