fix security warning