fix insert goal