Fix escaping issue when setting alias