Fixed the configuration sanity and removed bugs from Parser