Calendar field is not being displayed everytime.