Fixing pinit bug.