fix weakening bug