fixed a reload bug