fixed achievement bug