fixed calendar fragment
fixed bugs in calendar fragment