fixed http://drupal.org/node/1901116