fix bug in alias to remove branchs