bug with object in date corrected