minor: code cleanup