bugfix: must be called from a UI thread exception