Fix the __return keyword

fixes #7811