works locally but not on github pages - weeeird