fix constant usage