fix erro name function scripts