fixing local model bug and removing debug msgs