fix for SAM REST Service