bug fix active field