make $field more robust