ref: remove extra code