Fix local constant names.