fixes atomic section