fixed bugs with quartz and added joda time