awake bugfix