fixed bug while importing students; minor changes to debugging output