fix bugs graphic