fix pic won't load issue