unresolved function fix
aware dumb mode
generate eunit test function