fixes a bug with html sigs