remove undefined symbols