fix parser for function names with decorators