small compatibility changes
makes shorten amazon links more responsive
handles ValueError in format_price