Off to Sleep: Bug fix

I fixed some bugs.