fixing error when logging into telegram