Fixed two errors

- Hibernating fixed
- Potential error fixed