lib: fix tau and diff?