fix bad find and replace

https://trello.com/card/server-error-when-saving-works/50a2a79da535468428000174/237