This would be because you did not coat your hot dogs in advance. The addition of the cornstarch on the hot dogs before dipping helps the batter stick to the hot dogs.