ignore empty fields properly