fixing mixed images