calendar remove function