Fixes log4net type