removal of junk  in model file