make stray names in the begin line a warning instead of an error