Fixing a couple of bugs when deployed to GitHub.