add context depend and enable diff by default