packages, compatility fixes