fixed const expression error