fix security system to actually work now