clear @byId in reset()