fix pic migrations