solved issue in admin panel

fixed showing wrong relation in selected options
fixed issue #2
fixed issue #1