bug with disciplines

Signed-off-by: JB Touchard <jbt@txtnet.com>