fix part bug