fix alert of pic file