fix for problem during SAM REST service startup