fixed bug #2451