fix constant in invert hash