Fix bug sub

@elizuck