fix errors in creating and editing winks