rebind relationships and work on views