Fixing some issues language switching issues that appeared on the live site compared to localhost