fixed benchmark bug