64bit server fix

Fixed a bug that was causing the plugin to not work 4D 64bit server