fix bug for not found diary path