fix images initializer