security fix based on cinek810 works