fixed flat calendar not changig fdow bug