only use area attributes if they aren't blank