Fixed Reset Bug