Fixed bash name reference bug