Fix syntax problems in wpml