load image OOP fixed