fixed a random error