review fix and use all as default category if basic is empty