Fix bug, a function which has no return
can not return a function which has no return in some compiler