fixed to run on github pages