fixed undefined symbols