Fix bug with image