fixed problem with linker