fix constant problem