fixes in codesize