fixed a reload loop