Fix dp/dt mismatch and missing factor