fixing deploy weight adjustment