fix doc bug in restrainer