fix the error image still show while showing default img