fixed an accident bug