fix for external requiring no semicolon
fix for presence of procedures corrupting the addresses assigned to variables