code cleanup on worksheets