Fix bug of get entry