fix error const