unify style and move variable of image types is moved