revert layout cancel policy on details