fix string hash conflicts in compatibility mode