fix wasted deployment