Fix rest package

Signed-off-by: Gris Ge <cnfourt@gmail.com>