Disable sourcemap and fix cleaning bug