On uncertainty handling for assembly tasks using robots