dll copy bugfix