bail out when there is no element