small fix to check empty function names
attempt on fixing runtime issue on synana