fix missing images bug