Fix deploy type.