fix tail call bug