Fixed bugin promoting image to dataset that overwrite os with type.
Merge branch 'test' into dev