fix achievements check