fixes after code coverage