another parser issue, very much related to the last one. sometimes a None element was used as a token.fixes #418