cleaning up multiple languages loop