leave-bug fix