fix api issue wit top