fix token prompt pattern