remove all memory synchronise, used volatile instead