fix bug #2909