fixing autosleep driver