fixed a bugg when displaying achievements