fixing problems in scan assign single