refine check for filled field