making sdo error const