fix stored image