fixed the deploy type bug