fix draw issue