fix upload and teacher