attempt at fixing images