fix bug with image