fixing warnings, explicitly set as atomic