fixed notice "undefined var $result"
Fixed noticed undefined index roles
fixed notice
fixed notice
fixed FR translation