fix bug when features of fois are not present