patch bugs for function name that use themes name instead of codename