remove table function fixed P_Did