some copy and fixed bug in calendar