add device path and controller
Fix bugs about render in send_book function.