Call hook before being read-only buffer