remove compile errors
Merge pull request #2 from yokoi-h/restapi-packet

remove compile errors