check the spelling commit. its "oommit;" in ur code