solve polyatomic molecules bug