Fixed lead assign bug