remove more forgotten code from the dirty method