fix bug in dll compare