Fixes crash when token text is empty
Fixes recording