fixed error in base.inp creation