[minor] code cleanup