Fix signing when params=nil