handle nonexisting cart