fix orphaned code in sun module per mantis 7068