fixed linker problem