fixed

considered P_table in I calculation