Fixed a function without return value temporary