Fix device not booting issue