move reveil listener near reveil function