Fix typo in sysctl check condition and catch up with lastest api