fixed bug in initializer that puts todo item in wrong place