workaround for the Linkage error problem