minor fix to sap