fixed bug with atoms that have sign zero