bug fix scripts