ensure items and their titles cant' be empty