fix bug on succ method for states named 0 or ''