fixed refreshing of context to include now duplicates, fixed problems
with location form