solved some images bugs