fix build errors and delate tablet