added hack to make it work in github pages