bugfix for Backbone history