fixing bindhourevent