fix return codes, and version bump