bug in save routine (darn typos)