Fixed undefined reference