fixes for relate widget
fixes for relate widget