only show by and each if there is value