fixing image errors