added quick check for empty languages definition section