Fix the bug which may cause read-lock of the information repository.