fixes some codechecks
no codecheck errors, two defensible warnings