wake lock - bug fix