fixed bug in computing christmas time
other minor fixes