fixed handling of named functionexpressions