fix lexer for namespaced methods