fixed expiry calculation
release 0.0.13