patch

see issue http://drupal.org/node/1933384#comment-7134762