avoid undefined reference