Fix some atomic error