redist bugfix, compiler warnings