fixed bug for the baisc partition