handling blank fields