Fixed a bug in creating student