Remove unneeded code from ds form