atom bug fix