dont add empty object to input list