fix bug of arm package script