Fixed bug with all option.