clear out nil values in ui