Return const member from const function

* Fix thread safety error