fix insert megabrain