bug fix for approve date