Fixed some prime stuff.