atom length fix