fix bug in overwriting performances