exceptions on background thread bug