check for blank endpoint