Put message before setting occurs, for better debugging