bug fix in relative date function