fix the unit test fail for sam-server (temporary)