Fix constant values
Fix get constants in functions