atom compatibility fixes