bug #40