remove unnecessary id assignment