fixed const warning