Fixed achievement bug