pre-sleep cleanup

fix this last issue tomorrow