fix draw popup