make sure at least one students are added