Bug fix , for images