fixed a bug with clearart