reset stuff, dir for userdata