fixed last hit bug