resolving related in view