fixed undefined symbol error