fix showpic can't show pic sometimes