Fix bug in images