handling cases where data isn't populated properly
(text fields)