fix linux running issues