fixed const issue