fixed problem require option to be set