add type to saveUI