fix pic dimensions