bug fixing, end of dyn pm first part