fixed issue #36

tested on both ff and chrome on my local deployment