Foreigners' visas will be extended automatically