try to fix pml with density