fixed partial bug