Fixed bug caused by missing pos tags