fix a bug in generate signature when params have '@' at beginning