fix Undefined reference