fix error of security options