fix bug && Local notifications