repair orgranktop's bug