Fixed bug ecran function