fix signature for rest service