started on error handling, fix issue with title being blank but there being a description causing unnecessary whitespace