fixed a bug in surname