(bug #3173) revert non-working code