security field bug fix