Fix bugs in computed writers and data context