fixes to apt and firewall