Fix achievement bug