fix a "works on my machine" bug