Student set API call bugfix