fixed bug #3341