fix install bat bug

Signed-off-by: lional <lional.king@gmail.com>