fixed const error