fix autorizetion