sec bug fix