fix unsupported storage type bug