fix security listener