parser is no longer a singleton, fixes error when running in ruby 2.0