attempt at image fixing