small refactoring in erlide_noparse and utils