typo correction and make the promise execute only once in 24 hrs