modified boot class, it can worked