fix possible error when picFileName prop is incorrect.