Fix issue #9462 with returning rvalue reference instead of returning by copy
Removed a few whitespaces