lots of minor fixes

fixed all errors except for catalog and offer errors
which may not even be errors