Fix reference to player