api fix trial