prevents undefined lang