fix #1645 for self diagnosis