bug fix for AtomKick function