fixing goal editing