fixed issue with sending token in params