fix partial bug