Fixed 31st December bug