fix plotting depose issue