fix separate boot dev bug