avoid const warning