Handle no scope quicker

forgot to return the function value