Revert "fix boot errors"

This reverts commit bf6e6ef0b39cc1779b1b187f4655245af0b0bf0c.