Fixed linker bug