complete the previous bug fix