fixed nub and test of erlang version.