added conditional field theme code in case the field is not set up to display