eliminating spaces (autoformatting)
some errors handling in AtomParser