fix constant warning