Fixed syntax, but there is still a bug causing it not to save correctly.