Fixed Undefined reference error