fix bug with service editing caused by moving dbdef stuff around