fix bug with security component