fix problems when using array scopes in combination with locale interpolated in file path