fixed a heavy bug