fix for constants translation