fixes https://github.com/Polymer/polymer/issues/395