fixing secure token