Fixes to sysfs