fixed a bug that shell function try returning 'a string' (it's impossible in shell script)