fix bug : require scope