fixed various issues and improved code coverage