fixed bug of missing fields