history api fix try