fix build and bootloop