Minor bug in initialize ID script