fix signature regex