fix two images bugs