Bug fix for the sign URL genaration