fixed achievements bug