dereference should include local context

closes #75