fixed problem with prediction on new records with missing data in factor columns
solved the issue