fix bug that if statusField value is empty