Fixed weird bug by removing printf that used %d.