password renewal bug fix