fix err about missing img