fix for function names that begin/end with _ or $