fix taper decorator (fixes #878)