optimize backdoor