fix undefined symbol