Fixed heading and checked code on validater