BUG 8665 and 12335 SOLVED