Fixed mistake in fix_sign.