added workaround for linker bug