Fix problem on notification period when generate conf