fixed error and show new rest example