re-wrote commit on 32 bit running