Fixes gravity value signing.