diff --git a/twitter.lib.php b/twitter.lib.php
index c1bb997..7bb0629 100644
--- a/twitter.lib.php
+++ b/twitter.lib.php
@@ -13,8 +13,8 @@
 class TwitterConf {
   private static $instance;
   private $attributes = array(
-    'host'     => 'twitter.com',
-    'api'      => 'api.twitter.com',
+    'host'     => 'identi.ca',
+    'api'      => 'identi.ca/api',
     'search'   => 'search.twitter.com',
     'tiny_url' => 'tinyurl.com',
   );
@@ -505,14 +505,14 @@ class TwitterUser {
     $this->favourites_count = $values['favourites_count'];
     $this->protected = $values['protected'];
     $this->profile_image_url = $values['profile_image_url'];
-    $this->profile_background_color = $values['profile_background_color'];
-    $this->profile_text_color = $values['profile_text_color'];
-    $this->profile_link_color = $values['profile_link_color'];
-    $this->profile_sidebar_fill_color = $values['profile_sidebar_fill_color'];
-    $this->profile_sidebar_border_color = $values['profile_sidebar_border_color'];
+    $this->profile_background_color = $values['profile_background_color']?$values['profile_background_color']:'';
+    $this->profile_text_color = $values['profile_text_color']?$values['profile_text_color']:'';
+    $this->profile_link_color = $values['profile_link_color']?$values['profile_link_color']:'';
+    $this->profile_sidebar_fill_color = $values['profile_sidebar_fill_color']?$values['profile_sidebar_fill_color']:'';
+    $this->profile_sidebar_border_color = $values['profile_sidebar_border_color']?$values['profile_sidebar_border_color']:'';
     $this->profile_background_image_url = $values['profile_background_image_url'];
-    $this->profile_background_tile = $values['profile_background_tile'];
-    $this->verified = $values['verified'];
+    $this->profile_background_tile = $values['profile_background_tile']?$values['profile_background_tile']:'';
+    $this->verified = $values['verified']?$values['verified']:0;
     $this->created_at = $values['created_at'];
     if ($values['created_at'] && $created_time = strtotime($values['created_at'])) {
       $this->created_time = $created_time;
