Protect against null/empty values
avoid anyoutput for null exeption