fixed first name bug after search