forming languages array fix