update mac kbd & add improve comment function