better cope with singlenton inputs