don't render undefined items in an each