minor change to improve performance