Fixed achievements bug